package project.elements.priority;

import project.elements.base.Job;

public class PriorityByEarliestDueDate extends PriorityCalculator {

	public PriorityByEarliestDueDate() {
		super();
	}

	@Override
	public double calculatePriority(Job job) {
		return -(job.getDueDate());
	}

	@Override
	public String toString() {
		return "Earliest Due Date";
	}

}
